package exercises.examples.ch7.eg1;

public class Eg1 {
	public static void main(String[] args) {
		System.out.println(!new B().equals(new B(1)));
	}
}
class A{
	A(int i){
		System.out.println("int param of constructor a");
	}
	A(){
		System.out.println("no param of constructor a");
	}
}
class B extends A{
	B(){
		System.out.println("no param of constructor b\n\n");
	}
	B(int i){
		super(i);
		System.out.println("int param of constructor b\n");
	}
}

